import request from '@/utils/request'
import qs from 'qs';



// 获取规则
export function getRule(params) {
  return request({
    url: '/check/index/getTips',
    method: 'get',
    params
  })
}

// 提现成功
export function setRule(data) {
  return request({
    url: '/check/index/setTips',
    method: 'post',
    headers: {
      'Content-Type':'application/x-www-form-urlencoded'
    },
    data:qs.stringify(data),
  })
}

export function getruleList(params) {
  return request({
    url: '/check/index/settingLog',
    method: 'get',
    params
  })
}



